# name: quad_form_diag(m,rv)
# key: quad_form_diag
# group: Functions
# --
quad_form_diag(${1:m}, ${2:rv})$0